<?xml version="1.0" encoding="UTF-8"?>
<#assign dollor = "$">
<configuration>
  <substitutionProperty name="default_pattern" value="%date [%thread] %-5level %logger{80} - %msg%n" />

  <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
    <encoding>UTF-8</encoding>
    <layout class="ch.qos.logback.classic.PatternLayout">
      <pattern>${dollor}{default_pattern}</pattern>
    </layout>
  </appender>

  <logger name="org.springframework">
    <level value="WARN" />
  </logger>

  <logger name="com.ibatis">
    <level value="INFO" />
  </logger>

  <logger name="java.sql">
    <level value="INFO" />
  </logger>

  <root>
    <level value="INFO" />
    <appender-ref ref="STDOUT" />
  </root>
</configuration>
